/**
 * API 统一导出
 * 方便在组件中统一导入使用
 */

import * as authApi from './auth'
import * as studentApi from './student'
import * as classApi from './class'
import * as dormitoryApi from './dormitory'
import * as buildingApi from './building'

export {
    authApi,
    studentApi,
    classApi,
    dormitoryApi,
    buildingApi
}

// 默认导出
export default {
    auth: authApi,
    student: studentApi,
    class: classApi,
    dormitory: dormitoryApi,
    building: buildingApi
}

